//数量加
$(".outer10 .inter2221").on("click",".add",function () {
    var count = parseInt($(this).siblings(".count").val());
    var stock = parseInt($(".stock").text());
    $(this).siblings(".count").val(count<stock?count+1:count);
});
//数量减
$(".outer10 .inter222").on("click",".sub",function () {
    var count = parseInt($(this).siblings(".count").val());
    $(this).siblings(".count").val(count>1?count-1:count);
});
